package cn.edu.fzu.homemaking.mapper;

import cn.edu.fzu.homemaking.domain.enums.SexEnum;
import cn.edu.fzu.homemaking.domain.enums.StatusEnum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yifan
 * @date 2023/3/30
 */
public interface SysUserMapper {

    List<Long> listSysUser(@Param("name") String name, @Param("email") String email, @Param("sex") SexEnum sex,
                           @Param("phone") String phone, @Param("status") StatusEnum status);

    Long getByUserId(@Param("userId") Long userId);

    Integer insert(@Param("userId") Long userId);
}
